#ifndef _AV_HPP_
#define _AV_HPP_

#pragma once

class AntiVirus
{
public:
    AntiVirus();
    ~AntiVirus();

    void Init();
    const char* ScanFile(const char* onefile);

public:
    static AntiVirus* GetInstance();

protected:
    int AllocMemory();
    void FreeMemory();

private:
    struct cl_engine *engine;

    static AntiVirus* sm_inst;
};

#endif
